import 'package:flutter/material.dart';
import './screen/login.dart';
import './screen/all_skills.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '编程商城',
      theme: ThemeData(primaryColor: Colors.red[600]),
      initialRoute: '/',
      routes: {
        '/': (context) => MyLogin(),
        '/all_skills': (context) => AllSkills()
      },
    );
  }
}
